/* eslint-disable no-param-reassign */
// import moduleApi from '@/api/modules/module'
const initQueryParams = {
  // 系统名称
  systemNameList: [],
  // 操作类型
  handleType: undefined,
  // 状态
  status: undefined,
  // 操作时间
  handleTimeStart: undefined,
  handleTimeEnd: undefined
}
const state = {
  // 列表查询条件
  queryParams: {
    ...initQueryParams
  },
  order: undefined
}
const mutations = {
  resetSysLogQueryParams(state) {
    state.queryParams = {
      ...initQueryParams
    }
  },
  setOrder(state, value) {
    state.order = value
  }
}
const actions = {

}

export default {
  state,
  mutations,
  actions
}
